/*
 * 文件名：QueryCondition.java
 * 版权：Copyright by www.wootide.com
 * 描述：
 * 修改人：qianfm
 * 修改时间：Sep 27, 2012
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.cms.common.manager;

/**
 * 〈hql 查询相关常量〉
 * 〈功能详细描述〉
 * @author qianfm
 * @version Sep 27, 2012
 * @see QueryCondition
 * @since
 */

public interface QueryCondition
{
    /**
     * 'and'
     */
    String HQL_WHERE_AND = " and ";
    
    /**
     * 'order by'
     */
    String HQL_WHERE_ORDERBY = " order by ";
    
    /**
     * 'from'
     */
    String HQL_FROM = " from ";
    
    /**
     * '.'
     */
    String HQL_POINT = ".";
    
    /**
     * 冒号 ':'
     */
    String HQL_COLON = ":";
    
    /**
     * 空格
     */
    String HQL_BLANK = " ";
    
    /**
     *  单引号 '
     */
    String SINGLE_QUOTES = "'";
    
    /**
     * ','
     */
    String HQL_COMMA = ",";
    
    /**
     * '('
     */
    String HQL_LEFT_BRACKET = "(";
    
    /**
     * ')'
     */
    String HQL_RIGHT_BRACKET = ")";
    
    /**
     * ?
     */
    String HQL_QUESTION_MARK = " ? ";
    
    /**
     * =
     */
    String HQL_EQUAL = " = ";
    
    /**
     * <>
     */
    String HQL_NOT_EQUAL = " <> ";
    
    /**
     * >=
     */
    String HQL_MORE_THAN = " >= ";
    
    /**
     * <=
     */
    String HQL_LESS_THAN = " <= ";
    
    /**
     * or
     */
    String HQL_OR = " or ";
    
    /**
     * as
     */
    String HQL_AS = " as ";
    
    /**
     * in
     */
    String HQL_IN = " in ";
    
    /**
     * like
     */
    String HQL_LIKE = " like ";
    
    /**
     * %
     */
    String HQL_LIKE_ANY = "%";
    
    /**
     * is null
     */
    String HQL_ISNULL = " is null ";
    
    /**
     * ‘a’

     */
    String HQL_ALIAS_NAME_A = " a";
    
    /**
     * HQL中where关键字定义

     */
    String HQL_WHERE = " where 1=1 ";
}
